package com.test.uiapp2.function.ThirdPartyApplication;

import androidx.test.uiautomator.UiObject;

import com.test.uiapp2.base.TestBase;
import com.test.uiapp2.element.Base.BaseElement;
import com.test.uiapp2.element.ThirdPartyApplication.BrowserElement;

public class BrowserFcuntion extends TestBase {

    public  void StartBrowser(){
        startApp(BrowserElement.BROWSER_CHROMENAME);
        sleep(WAITTIME);
        UiObject home_button = getId(BaseElement.CHROME, BrowserElement.HOME_BUTTON);
        verify("未进入浏览器",home_button.exists());
    }
}
